﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KCMS.BusinessLogic.Models;

namespace KCMS.BusinessLogic.Interfaces
{
    public interface IPageService
    {
        Page getById(Guid id);
        Page getByCodeIndex(String code,int index);
        Page getByCode(String code);
        IEnumerable<Page> getAll();
        void update(Page page);
        void delete(Guid id);
        void save(Page page);
    }
}
